<!--
<script language="JavaScript" type="text/javascript">
$(document).ready(function(){
$('input[name=chosen_client]').change(function(){
	$("input.small-input[name=name]").val("");
});	
});	
</script>-->
<form name="searh-clients" id="search-clients" method="POST" action="">
<table class="customers-table">

  <tr>
    <td style="width: 70px;">
      أسم العميل:
    </td>
    <td style="width: 120px;">
     <input type="text" class="small-input" name="name" />
    </td>
    <td style="width: 70px;">
      رقم الجوال:
    </td>
    <td style="width: 120px;">
      <input type="text" class="small-input" name="mobile" />
    </td>
    
    <td style="width: 100px"><div style="margin-top:0;float:none" class="default-blue-button search-clients-sms">بحث</div>  </td>
  </tr>
  <tr class="radio-container">
    <td colspan="4"><label class="black">كل العملاء &nbsp;</label><input type="radio" name="chosen_client" value="1"/>
    <label class="black">خروج اليوم&nbsp;</label><input type="radio" name="chosen_client" value="2"/>
    <label class="black">خروج اليوم (مفتوح)&nbsp;</label><input type="radio" name="chosen_client" value="3"/>
    <label class="black">خروج اليوم (مغلق)&nbsp;</label><input type="radio" name="chosen_client" value="4"/></td>
    
  </tr>
</table>
</form>
      <table class="customers-table customer-table-list">
          <tr class="customers-table-head">
            	<td width="160px">أسم العميل</td>
                <td width="100px">الجوال</td>
                <td width="100px">اختار الكل <input type="checkbox" name="selectClient" value="" class="selectall"/></td>
            </tr>
            
           
                <?php if(!empty($clients)) { ?>
                <?php foreach($clients as $client) {?>
                
                <tr class="cell-parent">
                    <td id="client-name"><?php echo $client['name']; ?>  </td>
                    <td class="mobile" ><?php echo $client['mobile'] ;?></td>
                    <td ><input type="checkbox" name="selectClient" class="get_value_CB" value="<?php echo $client['id']; ?>" /></td>
                </tr>
                <?php  }
                }else{
                  echo "<td colspan='5' class='red large' id='smsAddClientMessage' align=''>$sentAlert</td>";
                } ?>
              
        </table>
        <div class=" save-chosen-clients">إضافة</div>
